package com.tcl.aota.admin.dto;

public class Result {

    private Object data;

    private Object status;

    private String msg; //发布提示信息

    private Result() {
    }

    public static Result get(Object data, Object status) {
        Result result = new Result();
        result.setData(data);
        result.setStatus(status);
        return result;
    }

    public static Result getResult(Object status, String msg) {
        Result result = new Result();
        result.setStatus(status);
        result.setMsg(msg);
        return result;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Object getStatus() {
        return status;
    }

    public void setStatus(Object status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
